projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae60293
)
gskglcommandqueue: Mark some variables G_GNUC_UNUSED
author
Timm Bäder
<mail@baedert.org>
Thu, 16 Dec 2021 10:04:37 +0000
(11:04 +0100)
committer
Timm Bäder
<mail@baedert.org>
Thu, 16 Dec 2021 10:06:50 +0000
(11:06 +0100)
These are unused if sysprof isn't being used.
gsk/gl/gskglcommandqueue.c
patch
|
blob
|
history
diff --git
a/gsk/gl/gskglcommandqueue.c
b/gsk/gl/gskglcommandqueue.c
index fa8ac1defb974bbc42a063b38c82549403a62688..3c7762e6fce6246cd359ffb33ce81c1d965fc662 100644
(file)
--- a/
gsk/gl/gskglcommandqueue.c
+++ b/
gsk/gl/gskglcommandqueue.c
@@
-952,9
+952,9
@@
gsk_gl_command_queue_execute (GskGLCommandQueue *self,
guint program = 0;
guint width = 0;
guint height = 0;
- guint n_binds = 0;
+
G_GNUC_UNUSED
guint n_binds = 0;
guint n_fbos = 0;
- guint n_uniforms = 0;
+
G_GNUC_UNUSED
guint n_uniforms = 0;
guint n_programs = 0;
guint vao_id;
guint vbo_id;